package org.jeecg.basic.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description: 产品样件配置
 * @Author: LiCY
 * @Date:   2024-11-27
 * @Version: V1.0
 */
@ApiModel(value="mes_testunithead_cfg对象", description="产品样件配置")
@Data
@TableName("mes_boundaryhead_cfg")
public class MesTestunitheadCfg implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键ID*/
    @ApiModelProperty(value = "主键ID")
    @TableId
    private String recId;
	/**产线或产线组*/
	@Excel(name = "产线或产线组", width = 15)
    @ApiModelProperty(value = "产线或产线组")
    private String line;
	/**产品或产品组*/
	@Excel(name = "产品或产品组", width = 15)
    @ApiModelProperty(value = "产品或产品组")
    private String partno;
	/**工位*/
	@Excel(name = "工位", width = 15)
    @ApiModelProperty(value = "工位")
    private String op;
	/**工站*/
	@Excel(name = "工站", width = 15)
    @ApiModelProperty(value = "工站")
    private String stn;
	/**序列号*/
	@Excel(name = "序列号", width = 15)
    @ApiModelProperty(value = "序列号")
    private String unitsn;
    /**name*/
    @Excel(name = "名称", width = 15)
    @ApiModelProperty(value = "名称")
    private String name;
    /**序列号*/
    @Excel(name = "描述", width = 15)
    @ApiModelProperty(value = "描述")
    private String description;
	/**执行状态*/
	@Excel(name = "执行状态(默认为1)", width = 15)
    @ApiModelProperty(value = "执行状态")
    @Dict(dicCode = "run_status")
    private String runStatus;
	/**样件类型*/
	@Excel(name = "样件类型(1=OK件、2=NG件)", width = 15)
    @ApiModelProperty(value = "样件类型")
    @Dict(dicCode = "testUnit_typ")
    private String typ;
	/**是否启用*/
	@Excel(name = "是否启用(1=启用、0=不启用)", width = 15)
    @ApiModelProperty(value = "是否启用")
    @Dict(dicCode = "isEnabled")
    private String enable;
	/**更新时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "更新时间")
    private Date utime;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private Date ctime;
}
